<?

//require_once(dirname(__FILE__) . '/../abstract/controller.php');

class bf_controller_base extends bf_controller {

	public function execute() {
		$action = preg_replace('/[\-\.\\\:]+/', '_', $this->get('action'));
		if (in_array($action, get_class_methods($this))) {
			return $this->$action();
		}
		return null;
	}
}

?>